// roughly correspond to the PHP variables:
var level = 0;
var destUser;
var destType;
var destAlbumId;
var destItemId;

function hoverOn(obj)
{
	obj.style.background = "rgb(43, 49, 134)";
}

function hoverOff(obj)
{
	obj.style.background = "rgb(25, 29, 79)";
}

function clickOn(obj)
{
	level++;
	alert(level);
	parent.initShowcase();
}

function initShowcase()
{
	document.getElementById("dcf").src = "ListView.php?level="+level+"&destUser="+destUser
		+"&destType="+destType+"&destAlbumId="+destAlbumId+"&destItemId="+destItemId;
}

